.class Limoblife/applist/AppListActivity$ListViewItem$1;
.super Ljava/lang/Object;
.source "AppListActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Limoblife/applist/AppListActivity$ListViewItem;->getItemView(Limoblife/applist/AppListActivity$Item;)Landroid/widget/LinearLayout;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Limoblife/applist/AppListActivity$ListViewItem;

.field private final synthetic val$item:Limoblife/applist/AppListActivity$Item;


# direct methods
.method constructor <init>(Limoblife/applist/AppListActivity$ListViewItem;Limoblife/applist/AppListActivity$Item;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Limoblife/applist/AppListActivity$ListViewItem$1;->this$1:Limoblife/applist/AppListActivity$ListViewItem;

    iput-object p2, p0, Limoblife/applist/AppListActivity$ListViewItem$1;->val$item:Limoblife/applist/AppListActivity$Item;

    .line 521
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Limoblife/applist/AppListActivity$ListViewItem$1;)Limoblife/applist/AppListActivity$ListViewItem;
    .locals 1
    .parameter

    .prologue
    .line 521
    iget-object v0, p0, Limoblife/applist/AppListActivity$ListViewItem$1;->this$1:Limoblife/applist/AppListActivity$ListViewItem;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 5
    .parameter "v"

    .prologue
    const/4 v4, 0x3

    const/4 v3, 0x2

    const/4 v2, 0x1

    .line 523
    iget-object v0, p0, Limoblife/applist/AppListActivity$ListViewItem$1;->val$item:Limoblife/applist/AppListActivity$Item;

    iget-object v0, v0, Limoblife/applist/AppListActivity$Item;->genuineDownLink:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    .line 524
    iget-object v0, p0, Limoblife/applist/AppListActivity$ListViewItem$1;->this$1:Limoblife/applist/AppListActivity$ListViewItem;

    new-array v1, v3, [I

    aput v4, v1, v2

    iput-object v1, v0, Limoblife/applist/AppListActivity$ListViewItem;->itemId:[I

    .line 528
    :goto_0
    new-instance v0, Landroid/app/AlertDialog$Builder;

    iget-object v1, p0, Limoblife/applist/AppListActivity$ListViewItem$1;->this$1:Limoblife/applist/AppListActivity$ListViewItem;

    #getter for: Limoblife/applist/AppListActivity$ListViewItem;->context:Landroid/content/Context;
    invoke-static {v1}, Limoblife/applist/AppListActivity$ListViewItem;->access$1(Limoblife/applist/AppListActivity$ListViewItem;)Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 529
    const-string v1, "Please select"

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 530
    new-instance v1, Limoblife/applist/AppListActivity$ListViewItem$LinkItem;

    iget-object v2, p0, Limoblife/applist/AppListActivity$ListViewItem$1;->this$1:Limoblife/applist/AppListActivity$ListViewItem;

    iget-object v3, p0, Limoblife/applist/AppListActivity$ListViewItem$1;->this$1:Limoblife/applist/AppListActivity$ListViewItem;

    iget-object v3, v3, Limoblife/applist/AppListActivity$ListViewItem;->itemId:[I

    invoke-direct {v1, v2, v3}, Limoblife/applist/AppListActivity$ListViewItem$LinkItem;-><init>(Limoblife/applist/AppListActivity$ListViewItem;[I)V

    new-instance v2, Limoblife/applist/AppListActivity$ListViewItem$1$1;

    iget-object v3, p0, Limoblife/applist/AppListActivity$ListViewItem$1;->val$item:Limoblife/applist/AppListActivity$Item;

    invoke-direct {v2, p0, v3}, Limoblife/applist/AppListActivity$ListViewItem$1$1;-><init>(Limoblife/applist/AppListActivity$ListViewItem$1;Limoblife/applist/AppListActivity$Item;)V

    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setAdapter(Landroid/widget/ListAdapter;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 547
    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    .line 548
    return-void

    .line 526
    :cond_0
    iget-object v0, p0, Limoblife/applist/AppListActivity$ListViewItem$1;->this$1:Limoblife/applist/AppListActivity$ListViewItem;

    new-array v1, v4, [I

    aput v2, v1, v2

    aput v3, v1, v3

    iput-object v1, v0, Limoblife/applist/AppListActivity$ListViewItem;->itemId:[I

    goto :goto_0
.end method
